/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

/**
 * 代码生成器
 */
const dicRouter = {
  path: '/dic',
  component: Layout,
  redirect: '/permission/page',
  alwaysShow: true,
  meta: {
    title: '基础字典',
    icon: 'lock'
  },
  name: 'Dic',
  children: [
    {
      path: '/dic/city/index',
      component: () => import('@/views/dic/city/index'),
      name: 'DicCity',
      meta: {
        title: '城市字典',
        icon: 'lock'
      }
    },
    {
      path: '/dic/city/add',
      component: () => import('@/views/dic/city/add'),
      name: 'DicCityAdd', hidden: true,
      meta: {
        title: '城市字典新增',
        icon: 'lock'
      }
    }, {
      path: '/dic/city/update',
      component: () => import('@/views/dic/city/update'),
      name: 'DicCityUpdate', hidden: true,
      meta: {
        title: '城市字典修改',
        icon: 'lock'
      }
    }, {
      path: '/dic/city/info',
      component: () => import('@/views/dic/city/info'),
      name: 'DicCityView', hidden: true,
      meta: {
        title: '城市字典查看',
        icon: 'lock'
      }
    },
    {
      path: '/dic/test/index',
      component: () => import('@/views/dic/test/index'),
      name: 'DicTest',
      meta: {
        title: '测试数据表',
        icon: 'lock'
      }
    },
    {
      path: '/dic/test/add',
      component: () => import('@/views/dic/test/add'),
      name: 'DicTestAdd', hidden: true,
      meta: {
        title: '测试数据表新增',
        icon: 'lock'
      }
    },
    {
      path: '/dic/test/update',
      component: () => import('@/views/dic/test/update'),
      name: 'DicTestUpdate', hidden: true,
      meta: {
        title: '测试数据表修改',
        icon: 'lock'
      }
    },
    {
      path: '/dic/test/info',
      component: () => import('@/views/dic/test/info'),
      name: 'DicTestView', hidden: true,
      meta: {
        title: '测试数据表查看',
        icon: 'lock'
      }
    },
    {
      path: '/dic/person/index',
      component: () => import('@/views/dic/person/index'),
      name: 'DicPerson',
      meta: {
        title: '人员字典',
        icon: 'lock'
      }
    },
    {
      path: '/dic/person/add',
      component: () => import('@/views/dic/person/add'),
      name: 'DicPersonAdd', hidden: true,
      meta: {
        title: '人员字典新增',
        icon: 'lock'
      }
    },
    {
      path: '/dic/person/update',
      component: () => import('@/views/dic/person/update'),
      name: 'DicPersonUpdate', hidden: true,
      meta: {
        title: '人员字典修改',
        icon: 'lock'
      }
    },
    {
      path: '/dic/person/info',
      component: () => import('@/views/dic/person/info'),
      name: 'DicPersonView', hidden: true,
      meta: {
        title: '人员字典查看',
        icon: 'lock'
      }
    }, {
      path: '/dic/info/index',
      component: () => import('@/views/dic/info/index'),
      name: 'DicInfo',
      meta: {
        title: '企业企业',
        icon: 'lock'
      }
    },
    {
      path: '/dic/info/add',
      component: () => import('@/views/dic/info/add'),
      name: 'DicInfoAdd', hidden: true,
      meta: {
        title: '企业企业新增',
        icon: 'lock'
      }
    },
    {
      path: '/dic/info/update',
      component: () => import('@/views/dic/info/update'),
      name: 'DicInfoUpdate', hidden: true,
      meta: {
        title: '企业企业修改',
        icon: 'lock'
      }
    }

  ]
}

export default dicRouter
